package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_common_sdk
 * @author 
 */
@Data
@ApiModel("")
public class CencesCommonSdk implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 记录日期
     */
    @ApiModelProperty("记录日期")
    private Integer time;

    /**
     * vivo
     */
    @ApiModelProperty("vivo")
    private BigDecimal vivo;

    /**
     * oppo
     */
    @ApiModelProperty("oppo")
    private BigDecimal oppo;

    /**
     * huawei
     */
    @ApiModelProperty("huawei")
    private BigDecimal huawei;

    /**
     * xiaomi
     */
    @ApiModelProperty("xiaomi")
    private BigDecimal xiaomi;

    /**
     * meizu
     */
    @ApiModelProperty("meizu")
    private BigDecimal meizu;

    /**
     * 360
     */
    @ApiModelProperty("360")
    private BigDecimal sll;

    /**
     * yingyongbao
     */
    @ApiModelProperty("yingyongbao")
    private BigDecimal yyb;

    /**
     * xiaozhuo
     */
    @ApiModelProperty("xiaozhuo")
    private BigDecimal xiaozhuo;

    /**
     * 应用id
     */
    @ApiModelProperty("应用id")
    private Integer appId;

    public CencesCommonSdk() {
    }

    public CencesCommonSdk(Integer time,Integer appId) {
        this.createTime = LocalDate.now();
        this.time = time;
        this.vivo = BigDecimal.ZERO;
        this.oppo = BigDecimal.ZERO;
        this.huawei = BigDecimal.ZERO;
        this.xiaomi = BigDecimal.ZERO;
        this.meizu = BigDecimal.ZERO;
        this.sll = BigDecimal.ZERO;
        this.yyb = BigDecimal.ZERO;
        this.xiaozhuo = BigDecimal.ZERO;
        this.appId=appId;
    }

    private static final long serialVersionUID = 1L;
}